﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="ViewFlightDetail.aspx.cs" Inherits="Admin_ViewFlightDetail" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <strong><span style="font-size: 16pt">Flight Detail</span></strong><br />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:sqlString %>" 
    SelectCommand="SELECT * FROM [Airline_Flight]"></asp:SqlDataSource>
<asp:DataList ID="DataList1" runat="server" BackColor="#CCCCCC" 
    BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
    CellSpacing="2" DataKeyField="FlightID" DataSourceID="SqlDataSource1" 
    ForeColor="Black" GridLines="Both">
    <FooterStyle BackColor="#CCCCCC" />
    <ItemStyle BackColor="White" />
    <SelectedItemStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
    <ItemTemplate>
        FlightID:
        <asp:Label ID="FlightIDLabel" runat="server" Text='<%# Eval("FlightID") %>' />
        <br />
        AirPlaneID:
        <asp:Label ID="AirPlaneIDLabel" runat="server" 
            Text='<%# Eval("AirPlaneID") %>' />
        <br />
        ScheduleID:
        <asp:Label ID="ScheduleIDLabel" runat="server" 
            Text='<%# Eval("ScheduleID") %>' />
        <br />
        Depart Time:
        <asp:Label ID="Depart_TimeLabel" runat="server" 
            Text='<%# Eval("[Depart Time]") %>' />
        <br />
        Avail Bussiness Seat:
        <asp:Label ID="Avail_Bussiness_SeatLabel" runat="server" 
            Text='<%# Eval("[Avail Bussiness Seat]") %>' />
        <br />
        Avail First Seat:
        <asp:Label ID="Avail_First_SeatLabel" runat="server" 
            Text='<%# Eval("[Avail First Seat]") %>' />
        <br />
        Avail Club Seat:
        <asp:Label ID="Avail_Club_SeatLabel" runat="server" 
            Text='<%# Eval("[Avail Club Seat]") %>' />
        <br />
        FlightStatus:
        <asp:Label ID="FlightStatusLabel" runat="server" 
            Text='<%# Eval("FlightStatus") %>' />
        <br />
        isAllowSmoking:
        <asp:Label ID="isAllowSmokingLabel" runat="server" 
            Text='<%# Eval("isAllowSmoking") %>' />
        <br />
        <br />
    </ItemTemplate>
</asp:DataList>
</asp:Content>

